<template>
    <component :is="comp" />
</template>

<script>
export default {
    data() {
        const fileName = location.search.slice(1);

        return {
            comp: require('./' + fileName + '-test.vue').default,
        };
    },
};
</script>

<style>
html,
body {
    margin: 0;
    height: 100%;
}
body {
    padding: 1em;
    box-sizing: border-box;
}
</style>
